package com.jwater.core.metrics;

import java.io.Serializable;

/**
 * @description:
 * @author: jnner
 * @createDate: 2021/2/5
 * @version: 1.0
 */
public class FileSystemSpace implements Serializable {
	private double totalSpace;
	private double usedSpace;
	private double freeSpace;

	public FileSystemSpace(double totalSpace, double usedSpace, double freeSpace) {
		this.totalSpace = totalSpace;
		this.usedSpace = usedSpace;
		this.freeSpace = freeSpace;
	}

	public double getTotalSpace() {
		return totalSpace;
	}

	public void setTotalSpace(double totalSpace) {
		this.totalSpace = totalSpace;
	}

	public double getUsedSpace() {
		return usedSpace;
	}

	public void setUsedSpace(double usedSpace) {
		this.usedSpace = usedSpace;
	}

	public double getFreeSpace() {
		return freeSpace;
	}

	public void setFreeSpace(double freeSpace) {
		this.freeSpace = freeSpace;
	}

	@Override
	public String toString() {
		return "FileSystemSpace [totalSpace=" + totalSpace + ", usedSpace=" + usedSpace + ", freeSpace=" + freeSpace
				+ "]";
	}
}
